package com.twang.stock.mapper;

import com.twang.stock.entity.ZuoYeSumbit;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface ZuoYeSumbitMapper extends Mapper<ZuoYeSumbit> {

    /**
     * 删除username，date
     * @param username
     * @param date
     * @return
     */
    int deletedData(@Param("userName") String username, @Param("date") String date);

    ZuoYeSumbit queryLastRecord(@Param("name") String name, @Param("date") String date);



}
